package com.big.spike;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.big","com.big.spike.controller","com.big.spike.config"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.big")
public class spikeServer {

    public static void main(String[] args) {
        SpringApplication.run(spikeServer.class, args);
        System.out.println("****************秒杀服务已初始化*****************");
    }

}
